package com.boatAnchorAssistant.service.utils;

/**
 * @author Joseph.Li
 * @author joseph.li@king-v.com
 * Created in 2022-06-27 17:43
 *
 * string 处理类
 */
public abstract class StringUtil {


    /**
     * 拼接字符串
     * @param strings
     * @return
     */
    public static String jointString(String... strings){

        if (strings==null||strings.length==0){
            return "";
        }
        StringBuilder builder = new StringBuilder();

        for (String string : strings) {
            builder.append(string);
        }

        return builder.toString();

    }


}
